home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / var / lib / dpkg / info / module-init-tools.postrm < prev    next >
Encoding:
Text File  |  2012-01-22  |  440 b   |  29 lines

  1. #!/bin/sh -e
  2.  
  3. remove_etc_files() {
  4.   rm -f /etc/modules
  5. }
  6.  
  7. case "$1" in
  8.     purge)
  9.     remove_etc_files
  10.     ;;
  11.  
  12.     remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
  13.     ;;
  14.  
  15.     *)
  16.     echo "$0 called with unknown argument '$1'" >&2
  17.     exit 1
  18.     ;;
  19. esac
  20.  
  21. # Automatically added by dh_installinit
  22. if [ "$1" = "purge" ] ; then
  23.     update-rc.d module-init-tools remove >/dev/null
  24. fi
  25. # End automatically added section
  26.  
  27.  
  28. exit 0
  29.